C1.WPF Namespace > C1DelegateCommand Class > C1DelegateCommand Constructor : C1DelegateCommand Constructor(Action<Object>,Predicate<Object>) |
'Declaration
Public Function New( _ ByVal execute As Action(Of Object), _ ByVal canExecute As Predicate(Of Object) _ )
'Usage
Dim execute As Action(Of Object) Dim canExecute As Predicate(Of Object) Dim instance As New C1DelegateCommand(execute, canExecute)
public C1DelegateCommand( Action<object> execute, Predicate<object> canExecute )
public: C1DelegateCommand( Action<Object^>^ execute, Predicate<Object^>^ canExecute )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2